package com.ehsunbehravesh.mypasswords.io;

public class FileEncryptorMessage {
  // <editor-fold defaultstate="collapsed" desc="CONSTANTS">
  public static final int MESSAGE_PROGRESS = 1;
  public static final int MESSAGE_FINISHED = 2;
  public static final int MESSAGE_EXCEPTION_IN_READING_FILE = 3;
  public static final int MESSAGE_EXCEPTION_IN_ENCRYPTION = 4;
  public static final int MESSAGE_EXCEPTION_IN_DECRYPTION = 5;
  public static final int MESSAGE_EXCEPTION_IN_WRITING_FILE = 6;
  public static final int MESSAGE_EXCEPTION = 7;
  // </editor-fold>
  
  // <editor-fold defaultstate="collapsed" desc="FIELDS">  
  private int message;
  private String description;    
  // </editor-fold>
  
  // <editor-fold defaultstate="collapsed" desc="CONSTRUCTORS">
  public FileEncryptorMessage(int message, String description) {
    this.message = message;
    this.description = description;
  }

  public FileEncryptorMessage(int message) {
    this.message = message;
  }  
  // </editor-fold>
  
  // <editor-fold defaultstate="collapsed" desc="PROPERTIES">
  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public int getMessage() {
    return message;
  }

  public void setMessage(int message) {
    this.message = message;
  }
  // </editor-fold>
}
